package xy.web;

import java.util.HashMap;
import java.util.Map;

public class ActionItem {
	
	protected String actionId;
	protected String title;
	protected Class<?> cls = xy.web.BlankAction.class;
	protected Map<Integer, PageItem> pageItem = new HashMap<Integer,PageItem>();
	
	public void setActionId(String actionId) {
		this.actionId = actionId;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void setCls(Class<?> cls) {
		this.cls = cls;
	}

	public void putPageItem(int i, PageItem page){
		pageItem.put(i, page);
	}
	
	public PageItem getPageItem(int i){
		return pageItem.get(i);
	}
	
	public String getActionId() {
		return actionId;
	}

	public String getTitle() {
		return title;
	}

	public Class<?> getCls() {
		return cls;
	}
	
}
